package be.dch.objectprops;

import java.lang.reflect.Field;

import be.dch.objectprops.parser.Parser;

public interface ParserFinder {

    public abstract void addParser(Parser parser);

    public abstract void removeParser(Class<?> Clazz);

    public abstract boolean handleAsReader(Field field);

    public abstract boolean handleAsWriter(Object result);

    public abstract void write(Object result, StringBuilder key);

    public abstract void read(final StringBuilder key, final Field field, Object result);

    public abstract Object read(final StringBuilder key, Object result);

}